try{ window.__mNPubCidCB = window.advBidxc.mnetCoRtusId ;!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=window.crypto||window.msCrypto;return t&&t.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%e:Math.random()*e}Object.defineProperty(t,"__esModule",{value:!0}),t.genRandomValue=o,t.uuid4=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(e){return(e^o()>>e/4).toString(16)})},t.parseQueryString=function(e){var t={};"?"===e.charAt(0)&&(e=e.substring(1));for(var n=e.split("&"),o=0;o2&&void 0!==arguments[2]?arguments[2]:{},o="object"===a(e.PublisherCommonId)?e.PublisherCommonId:(e.PublisherCommonId={},e.PublisherCommonId),u=new i.default(n),l="";o.getId=function(){return l},o.init=function(e){u.updatePubcidWithConsent(e),l=u.readPubcid()},o.createId=function(){u.createPubcid({force:!0}),l=u.readPubcid()},o.deleteId=function(){u.deletePubcid(),l=""},o.generateId=function(){return(0,r.uuid4)()},(void 0===n.autoinit||n.autoinit)&&o.init(n.consentData)};var o,i=(o=n(3))&&o.__esModule?o:{default:o},r=n(0);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(4),i=n(0),r=n(5);function a(){return(a=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config={name:"_pubcid",optoutName:"_pubcid_optout",expInterval:525600,create:!0,cookieDomain:"",type:"html5,cookie",extend:!0,pixelUrl:""},a(this.config,t),this.typeEnabled=null,"string"==typeof this.config.type)for(var n=this.config.type.split(","),i=0;i0&&void 0!==arguments[0]?arguments[0]:"";if(this.config.pixelUrl){var t=(0,i.addQueryParam)(this.config.pixelUrl,"id","pubcid:"+e);(0,i.firePixel)(t)}}},{key:"createPubcid",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).force,t=void 0!==e&&e,n=this.config,o=n.name,r=n.create,a=n.expInterval,u=n.cookieDomain,d=n.extend,f=n.pixelUrl,s=this.readValue(this.config.name);s?d&&(f?this.getPixel(s):this.writeValue(o,s,a,u)):((r||t)&&(this.typeEnabled===c&&(s=this.readValue(o,l)),s||(s=(0,i.uuid4)()),this.writeValue(o,s,a,u)),this.getPixel(s))}},{key:"deletePubcid",value:function(){this.deleteValue(this.config.name)}},{key:"readPubcid",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).any;return void 0===e||e?this.readValue(this.config.name,l)||this.readValue(this.config.name,c):this.readValue(this.config.name)}}])&&u(t.prototype,n),d&&u(t,d),e}();t.default=d},function(e,t,n){"use strict";function o(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"/",r=arguments.length>5?arguments[5]:void 0;if(e){var a=new Date;a.setTime(a.getTime()+1e3*n*60),window.document.cookie=e+"="+encodeURIComponent(t)+";path="+i+(o?";domain="+o:"")+";expires="+a.toUTCString()+(r?";SameSite="+r:"")}}function i(e){o(e,"",-1)}Object.defineProperty(t,"__esModule",{value:!0}),t.setCookie=o,t.getCookie=function(e){if(e&&window.document.cookie){var t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null},t.delCookie=i,t.clearAllCookies=function(){document.cookie.split(";").forEach(function(e){var t=e.split("=")[0];t&&i(t)})},t.isCookieSupported=function(){return window.navigator.cookieEnabled||!!document.cookie.length}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isStorageSupported=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"localStorage";try{var t=window[e],n="__"+e+"_test__";return t.setItem(n,n),t.removeItem(n),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!=={}.length}},t.clearStorage=function(){try{localStorage.clear()}catch(e){i.default.debug(e)}},t.setStorageItem=function(e,t,n){try{if(void 0!==n&&null!=n){var o=new Date(Date.now()+60*n*1e3).toUTCString();localStorage.setItem(e+r,o)}localStorage.setItem(e,t)}catch(e){i.default.debug(e)}},t.getStorageItem=function(e){var t=null;try{var n=localStorage.getItem(e+r);if(n){var o=new Date(n),u=o.getTime()-Date.now()>0;u?t=localStorage.getItem(e):a(e)}else t=localStorage.getItem(e)}catch(e){i.default.debug(e)}return t},t.removeStorageItem=a;var o,i=(o=n(6))&&o.__esModule?o:{default:o};var r="_exp";function a(e){try{localStorage.removeItem(e+r),localStorage.removeItem(e)}catch(e){i.default.debug(e)}}},function(e,t,n){"use strict";function o(e,t){for(var n=0;n=0}var t,n,i;return t=e,(n=[{key:"debug",value:function(){var e;this.enabled&&"undefined"!=typeof console&&(e=console).log.apply(e,arguments)}},{key:"errro",value:function(){var e;(e=console).error.apply(e,arguments)}}])&&o(t.prototype,n),i&&o(t,i),e}());t.default=i}]); }catch(e){if(typeof window.advBidxc.mnetCoRtusId=='function'){window.advBidxc.mnetCoRtusId();}}